﻿using System.Data.Entity;

namespace IntoLog
{
    public class LogDbContext : DbContext
    {
        public LogDbContext() : base("server=172.16.100.101;DataBase=Logs;Uid=sa;Pwd=into6306;Timeout=5") { }
        public virtual DbSet<LogMsg> Logs { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
        }
    }
}
